package com.lingjtx.iot.network.open;

import com.lingjtx.common.other.annotation.BaseUrl;
import com.lingjtx.common.other.annotation.Body;
import com.lingjtx.common.other.annotation.Header;
import com.lingjtx.common.other.annotation.POST;
import com.lingjtx.common.other.http.Call;
import com.lingjtx.iot.network.open.model.ReportDataRequest;
import com.lingjtx.iot.network.open.model.WebhookResponse;

public interface CallbackHttp {

    @POST("")
    Call<WebhookResponse> callback(@BaseUrl String baseUrl,
                                   @Header("Secret") String secret,
                                   @Body ReportDataRequest request);
}
